package com.ayoka.parenting.ui.coach.studentdetail;

import com.ayoka.parenting.bean.GrownPathBean;
import com.ayoka.parenting.bean.PagerBean;
import com.ayoka.parenting.bean.StudentBean;
import com.ayoka.parenting.bean.UserInfoBean;
import com.ayoka.parenting.bean.UserInfoDetailBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: StudentDetailContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class StudentDetailContract {

    interface View extends BaseView {
        void configStudentData(UserInfoDetailBean data);

        void configStudentGrowPathListData(PagerBean<GrownPathBean> data);
    }

    interface Presenter extends BasePresenter<View> {
        void getStudentData(String studentId);

        void getStudentGrowPathListData(boolean isShowWaitDialog, String studentId, int pageNo, int pageSize);
    }

    interface Model {
        void getStudentData(BasePresenter presenter, String studentId, RequestCallback<UserInfoDetailBean> callback);

        void getStudentGrowPathListData(BasePresenter presenter, String studentId, int pageNo, int pageSize, RequestCallback<PagerBean<GrownPathBean>> callback);
    }
}
